package com.itcast.tanhuasso.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @PachageName: com.itcast.tanhuasso.config
 * @ClassName:
 * @Description: TODO
 * @Author: Hushi
 * @DateTime: 2021/2/2021:13
 * @Version 1.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "tanhua.huanxin")
@PropertySource("classpath:huanxin.properties")
public class HuanXinConfig {
    private String url;
    private String orgName;
    private String appName;
    private String clientId;
    private String clientSecret;
}
